package cn.edu.jxust.common.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author QiuKangming
 * @version 1.0
 * @description 修改个人信息
 * @since 2020/07/21 15:58
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SlfInfoVo {

    @NotNull(message = "用户id不能为空")
    private Integer id;

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "用户邮箱账不能为空")
    private String email;

    @NotBlank(message = "用户电话不能为空")
    private String phone;

}
